package ebuy.com.server.imp;

import ebuy.com.dao.Easybuy_user_addressdao;
import ebuy.com.pojo.Easybuy_order_detail;
import ebuy.com.pojo.Easybuy_user_address;
import ebuy.com.server.Easybuy_order_detailsserver;
import ebuy.com.server.Easybuy_user_addressserver;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class Easybuy_user_addressservermp implements Easybuy_user_addressserver {
    @Autowired
    private Easybuy_user_addressdao easybuy_user_addressdao;

    @Override
    public int Changeaddress(Easybuy_user_address easybuy_user_address) {
        return easybuy_user_addressdao.Changeaddress(easybuy_user_address);
    }

    @Override
    public Easybuy_user_address lookfortheaddressq(Integer userid, Integer isDefault) {
        return easybuy_user_addressdao.lookfortheaddressq(userid, isDefault);
    }

    @Override
    public int Addaddress(Easybuy_user_address easybuy_user_address) {
        return easybuy_user_addressdao.Addaddress(easybuy_user_address);
    }
}
